<template>
  <el-table :data="occupation" stripe style="width: 100%">
    <el-table-column type="index" label="排名"> </el-table-column>
      <el-table-column prop="path" label="头像" align="center">
      <template slot-scope="scope">
        <img
          :src="scope.row.path"
          style="width: 100px; height: 100px; border-radius: 50%"
        />
      </template>
    </el-table-column>
    <el-table-column prop="name" label="名称" align="center" />
  
    <el-table-column prop="path" label="队标" align="center">
      <template slot-scope="scope">
        <img
          :src="scope.row.rank_url"
          style="width: 100px; height: 100px; border-radius: 50%"
        />
      </template>
    </el-table-column>
  </el-table>
</template>

<script>
export default {
  props: {
    occupation: {
      type: Array,
      default: () => [],
    },
  },
};
</script>